//
//  SearchWordManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/7/5.
//

#import "SearchWordManager.h"

@implementation SearchWordManager

-(NSString *)methodName{
    return @"/book/word/search";
}

-(JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypeAppendParameterPOST;
}

-(NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    NSMutableDictionary *dict = @{}.mutableCopy;
    dict[@"search"] = self.search;
    dict[@"mode"] = self.mode;
    return dict;
}

@end
